GIT 远程仓库

1. 远程仓库

git remote
 git remote -v
[book@SERVER realsync]$ git remote add http https://github.com/jikchenggit/realsync.git
[book@SERVER realsync]$ git fetch http

说明:不会合并分支

git push origin master
git pull
git remote show http
git remote rename http pb
git remote rm pb